<template>
  <div class="introduce">
    <van-image
      class="img"
      :src="require('../../assets/introduce/banner.jpg')"
    ></van-image>

    <div class="mission">
      <h2 class="h2">
        量准的使命
      </h2>
      <p>用新一代全球领先的纳米等离子共振</p>
      <p>NanoSPR生物芯片微测技术</p>
      <p>建造便捷精准实时全球化健康检测平台</p>
      <p>为广大消费者、医疗机构和医药企业提供更好的</p>
      <p>新药研发，健康管理和疾病检测服务，造福人类！</p>
    </div>

    <div class="company-info">
      <h2 class="h2">
        量准（上海）实业有限公司
      </h2>
      <div class="content">
        <p>量准集团成立于2016年，以智能生物医学技术为基础。自成立以来，量准一直致力于为医疗机构和消费者提供全方位的智能医疗检测产品和方案。多年来，联合中外多所顶尖大学和科研院所，自主研发了专业技术和产品。</p>
        <p>目前，量准已获得近百项国家和国际专利。它正在履行自己的使命，不断推出最前沿的生物医学传感器技术产品，造福社会和众多家庭。</p>
        <p>量准专注于利用传感器芯片设计和制造专利技术。借此开发出创新型的生物检测芯片及相关检测设备产品， 并将其应用于生物医药研发，以及临床医学体外诊断的检测试剂和设备中。</p>
      </div>
    </div>

    <!-- <div class="storey">
      <h2 class="h2">
        发展历程
      </h2>
    </div> -->

    <!-- <div class="time-line">
      <div class="line-box">
        <div class="line">
          <div class="milestone">
            <div class="detail">
              <h3 class="h3">企业发展</h3>
            </div>
          </div>
          <div
            class="milestone"
            v-for="v,i in timeline1"
            :key="i"
          >
            <div class="dot"></div>
            <div class="detail">
              <h4 class="h4">{{v.year}}</h4>
              {{v.detail}}
            </div>
          </div>
        </div>
      </div>
      <div class="line-box">
        <div class="line">
          <div class="milestone">
            <div class="detail">
              <h3 class="h3">成果事记</h3>
            </div>
          </div>
          <div
            class="milestone"
            v-for="v,i in timeline2"
            :key="i"
          >
            <div class="dot"></div>
            <div class="detail">
              <h4 class="h4">{{v.year}}</h4>
              {{v.detail}}
            </div>
          </div>
        </div>
      </div>
    </div> -->

    <div class="storey">
      <h2 class="h2">
        团队实力
      </h2>
    </div>

    <div class="team">
      <div
        class="team-item"
        v-for="v,i in team"
        :key="i"
      >
        <div class="team-top">
          <van-image
            class="img"
            :src="v.img"
          ></van-image>
          <div class="team-title">
            <div class="name">
              {{v.name}}
            </div>
            <div class="state">
              {{v.state}}
            </div>
          </div>
        </div>
        <div
          class="team-info"
          v-html="v.content"
        >
        </div>
      </div>
    </div>

    <div class="storey">
      <h2 class="h2">
        部分合作院校&伙伴
      </h2>
    </div>

    <div class="all-companys">
      <div
        class="company-item"
        v-for="v,i in logo"
        :key="i"
      >
        <van-image
          class="img"
          :src="v.img"
        ></van-image>
        <!-- <div
          class="company-name"
          v-html="v.name"
        >
        </div> -->
      </div>
    </div>
    <div class="patent">
      <div class="storey">
        <h2 class="h2">
          部分专利
        </h2>
      </div>
      <div class="patent_content">
        <van-image class="img-b" :src="require('../../assets/introduce/patent-b.png')"></van-image>
        <van-image class="img" :src="require('../../assets/introduce/patent1.png')"></van-image>
        <van-image class="img" :src="require('../../assets/introduce/patent2.png')"></van-image>
        <van-image class="img" :src="require('../../assets/introduce/patent3.png')"></van-image>
      </div>
    </div>
  </div>
</template>

<script>
import {findDevelop} from '../../api/index'
export default {
  name: "",
  data() {
    return {
      timeline1: [],
      timeline2: [],
      team: [
        {
          img: require("../../assets/introduce/team-1.jpg"),
          name: "刘钢",
          state: "创始人&首席科学家",
          content:
            "加州大学伯克利分校/生物工程博士；旧金山分校/细胞和分子医学博士；曾任伊利诺伊大学香槟分校教授"
        },
        {
          img: require("../../assets/introduce/team-2.jpg"),
          name: "许浩",
          state: "创始人&董事长",
          content:
            "厦门大学/化学学士；连续创业者，从业经验横跨500强；外资，民企，百亿国企，PEVC，实业和互联网"
        },
        // {
        //   img: require("../../assets/introduce/team-3.jpg"),
        //   name: "Fawaz Habbal",
        //   state: "首席科学顾问",
        //   content: "美国宝丽来相机公司前副总裁；CMOS成像传感器专家"
        // },
        // {
        //   img: require("../../assets/introduce/team-4.jpg"),
        //   name: "毛晨",
        //   state: "首席药物学家",
        //   content: "国家级高层次人才；康奈尔大学/化学博士"
        // },
        {
          img: require("../../assets/introduce/team-5.jpg"),
          name: "胡文君",
          state: "首席生化研究",
          content: "日本京都大学医学博士；师从2018年诺贝尔医学奖得主本庶佑"
        },
        {
          img: require("../../assets/introduce/team-6.jpg"),
          name: "黄丽萍",
          state: "产品研发总监",
          content: "中国药科大学药学博士；华中科技大学博士后"
        }
      ],
      logo: [
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/1.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/2.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/3.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/4.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/5.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/6.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/7.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/8.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/9.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/10.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/11.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/12.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/13.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/4.png")
        },
        {
          name: "武汉新芯集成电路制造有限公司",
          img: require("../../assets/introduce/15.png")
        },

      ]
    };
  },
  created() {
    this.getInfo()
  },
  methods: {
    async getInfo() {
      try {
        const res = await findDevelop()
        this.timeline1 = res.timeline1
        this.timeline2 = res.timeline2
      } catch (err) {
        return
      }
    }
  }
};
</script>

<style lang="scss" scoped>
.introduce {
  .storey {
    padding: 20px 15px;
  }
  .img {
    width: 100%;
  }

  .mission {
    padding: 30px 15px;
    text-align: center;
    .h2 {
      margin-bottom: 15px;
    }
    p {
      font-size: 12px;
      line-height: 20px;
    }
  }
  .h2 {
    position: relative;
    font-size: 18px;
    color: #4278bc;
    font-weight: bold;
    text-align: center;
  }

  .h2:after {
    width: 18px;
    height: 1px;
    background: rgba($color: #333333, $alpha: 0.5);
    content: " ";
    position: absolute;
    top: 25px;
    left: 50%;
    margin-left: -9px;
  }

  .company-info {
    padding: 15px;
    background-color: #4278bc;
    .h2 {
      color: #fff;
    }
    .h2:after {
      background: rgba($color: #fff, $alpha: 0.5);
    }
    .content {
      font-size: 12px;
      padding: 15px;
      color: #fff;
      p {
        line-height: 18px;
        margin-top: 5px;
        text-indent: 2em;
      }
    }
    .company-img {
      display: grid;
      grid-template-columns: repeat(2, 50%);
      grid-row-gap: 15px;
      margin: 10px 20px;
      .item {
        text-align: center;
        color: #fff;
      }
      .img {
        width: 100px;
        height: 100px;
        overflow: hidden;
        border-radius: 50%;
      }
      .title {
        font-size: 14px;
      }
      .subtitle {
        font-size: 12px;
      }
    }
  }

  .time-line {
    display: grid;
    grid-template-columns: repeat(2, 49%);
    grid-column-gap: 10px;
    margin: 0 15px;
    .line-box {
      background: #f2f2f2;
      padding: 15px;
      .line {
        border-left: 1px solid #091023;
      }
      .milestone {
        position: relative;
        left: -3px;
        margin-top: 15px;
        .h3 {
          color: #4278bc;
          font-weight: bold;
          font-size: 14px;
        }
        .dot {
          position: absolute;
          display: inline-block;
          width: 6px;
          height: 6px;
          border-radius: 50%;
          background: #4278bc;
          top: 4px;
        }
        .detail {
          margin-left: 10px;
          display: inline-block;
          color: #3e464f;
          font-size: 12px;
          .h4 {
            font-weight: bold;
          }
        }
      }
    }
  }

  .team {
    display: grid;
    grid-template-columns: repeat(2, 49%);
    grid-column-gap: 10px;
    margin: 0 15px;
    &-item {
      margin-bottom: 15px;
      background: #4278bc;
      color: #fff;
      padding: 7px;
    }
    &-title {
      margin-left: 5px;
      padding-top: 10px;
    }
    &-top {
      display: flex;
      .name {
        font-weight: bold;
        font-size: 14px;
      }
      .state {
        font-size: 12px;
      }
      .img {
        width: 55px;
        height: 55px;
        overflow: hidden;
        border-radius: 50%;
      }
    }
    &-info {
      margin-top: 10px;
      font-size: 12px;
      p {
        line-height: 18px;
      }
    }
  }

  .all-companys {
    display: flex;
    flex-wrap: wrap;
    .company-item {
      box-sizing: border-box;
      width: 20%;
      height: 70px;
      padding: 14px;
      .img {
        object-fit: cover;
        width: 100%;
        height: 100%;
      }
    }

    .company-name {
      font-size: 12px;
      text-align: center;
    }
  }

  .patent {
    width: 100%;
    height: 100%;
    background-color: #ebebeb;
    margin-top: 20px;
    padding-bottom: 40px;
    overflow: hidden;
    &_content {
      display: flex;
      .img {
        flex: 1;
        height: 116px;
      }
      .img-b {
        flex: 2;
      }
    }
  }
}
</style>
